﻿<%@ Page Title="ArchiveBaseInfo" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeBehind="List.aspx.cs" Inherits="Lawyer.Web.ArchiveBaseInfo.List" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
<script language="javascript" src="/js/CheckBox.js" type="text/javascript"></script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">

<!--Title -->

            <!--Title end -->

            <!--Add  -->

            <!--Add end -->

            <!--Search -->
            <table style="width: 100%;" cellpadding="2" cellspacing="1" class="border">
                <tr>
                    <td style="width: 80px" align="right" class="tdbg">
                         <b>关键字：</b>
                    </td>
                    <td class="tdbg">                       
                    <asp:TextBox ID="txtKeyword" runat="server"></asp:TextBox>
                    &nbsp;&nbsp;&nbsp;&nbsp;
                    <asp:Button ID="btnSearch" runat="server" Text="查询"  OnClick="btnSearch_Click" >
                    </asp:Button>                    
                        
                    </td>
                    <td class="tdbg">
                    </td>
                </tr>
            </table>
            <!--Search end-->
            <br />
            <asp:GridView ID="gridView" runat="server" AllowPaging="True" Width="100%" CellPadding="3"  OnPageIndexChanging ="gridView_PageIndexChanging"
                    BorderWidth="1px" DataKeyNames="ArchiveID" OnRowDataBound="gridView_RowDataBound"
                    AutoGenerateColumns="false" PageSize="10"  RowStyle-HorizontalAlign="Center" OnRowCreated="gridView_OnRowCreated">
                    <Columns>
                    <asp:TemplateField ControlStyle-Width="30" HeaderText="选择"    >
                                <ItemTemplate>
                                    <asp:CheckBox ID="DeleteThis" onclick="javascript:CCA(this);" runat="server" />
                                </ItemTemplate>
                            </asp:TemplateField> 
                            
		<asp:BoundField DataField="ArchiveID" HeaderText="ArchiveID" SortExpression="ArchiveID" ItemStyle-HorizontalAlign="Center"  /> 
		<asp:BoundField DataField="FullName" HeaderText="FullName" SortExpression="FullName" ItemStyle-HorizontalAlign="Center"  /> 
		<asp:BoundField DataField="Birthday" HeaderText="Birthday" SortExpression="Birthday" ItemStyle-HorizontalAlign="Center"  /> 
		<asp:BoundField DataField="Telphone" HeaderText="Telphone" SortExpression="Telphone" ItemStyle-HorizontalAlign="Center"  /> 
		<asp:BoundField DataField="Fax" HeaderText="Fax" SortExpression="Fax" ItemStyle-HorizontalAlign="Center"  /> 
		<asp:BoundField DataField="Address" HeaderText="Address" SortExpression="Address" ItemStyle-HorizontalAlign="Center"  /> 
		<asp:BoundField DataField="CFullName" HeaderText="CFullName" SortExpression="CFullName" ItemStyle-HorizontalAlign="Center"  /> 
		<asp:BoundField DataField="CBirthday" HeaderText="CBirthday" SortExpression="CBirthday" ItemStyle-HorizontalAlign="Center"  /> 
		<asp:BoundField DataField="CTelphone" HeaderText="CTelphone" SortExpression="CTelphone" ItemStyle-HorizontalAlign="Center"  /> 
		<asp:BoundField DataField="CFax" HeaderText="CFax" SortExpression="CFax" ItemStyle-HorizontalAlign="Center"  /> 
		<asp:BoundField DataField="CEmail" HeaderText="CEmail" SortExpression="CEmail" ItemStyle-HorizontalAlign="Center"  /> 
		<asp:BoundField DataField="CRelation" HeaderText="CRelation" SortExpression="CRelation" ItemStyle-HorizontalAlign="Center"  /> 
		<asp:BoundField DataField="BankFunds" HeaderText="BankFunds" SortExpression="BankFunds" ItemStyle-HorizontalAlign="Center"  /> 
		<asp:BoundField DataField="BankAccount" HeaderText="BankAccount" SortExpression="BankAccount" ItemStyle-HorizontalAlign="Center"  /> 
		<asp:BoundField DataField="CaseSource" HeaderText="CaseSource" SortExpression="CaseSource" ItemStyle-HorizontalAlign="Center"  /> 
		<asp:BoundField DataField="PersonalDetail" HeaderText="PersonalDetail" SortExpression="PersonalDetail" ItemStyle-HorizontalAlign="Center"  /> 
		<asp:BoundField DataField="PersonalNote" HeaderText="PersonalNote" SortExpression="PersonalNote" ItemStyle-HorizontalAlign="Center"  /> 
		<asp:BoundField DataField="FatherName" HeaderText="FatherName" SortExpression="FatherName" ItemStyle-HorizontalAlign="Center"  /> 
		<asp:BoundField DataField="FatherDOB" HeaderText="FatherDOB" SortExpression="FatherDOB" ItemStyle-HorizontalAlign="Center"  /> 
		<asp:BoundField DataField="FatherNationality" HeaderText="FatherNationality" SortExpression="FatherNationality" ItemStyle-HorizontalAlign="Center"  /> 
		<asp:BoundField DataField="FatherContact" HeaderText="FatherContact" SortExpression="FatherContact" ItemStyle-HorizontalAlign="Center"  /> 
		<asp:BoundField DataField="MotherName" HeaderText="MotherName" SortExpression="MotherName" ItemStyle-HorizontalAlign="Center"  /> 
		<asp:BoundField DataField="MotherDOB" HeaderText="MotherDOB" SortExpression="MotherDOB" ItemStyle-HorizontalAlign="Center"  /> 
		<asp:BoundField DataField="MotherNationality" HeaderText="MotherNationality" SortExpression="MotherNationality" ItemStyle-HorizontalAlign="Center"  /> 
		<asp:BoundField DataField="MotherContact" HeaderText="MotherContact" SortExpression="MotherContact" ItemStyle-HorizontalAlign="Center"  /> 
		<asp:BoundField DataField="SisterName" HeaderText="SisterName" SortExpression="SisterName" ItemStyle-HorizontalAlign="Center"  /> 
		<asp:BoundField DataField="SisterDOB" HeaderText="SisterDOB" SortExpression="SisterDOB" ItemStyle-HorizontalAlign="Center"  /> 
		<asp:BoundField DataField="SisterContact" HeaderText="SisterContact" SortExpression="SisterContact" ItemStyle-HorizontalAlign="Center"  /> 
		<asp:BoundField DataField="SisterNationality" HeaderText="SisterNationality" SortExpression="SisterNationality" ItemStyle-HorizontalAlign="Center"  /> 
		<asp:BoundField DataField="BrotherName" HeaderText="BrotherName" SortExpression="BrotherName" ItemStyle-HorizontalAlign="Center"  /> 
		<asp:BoundField DataField="BrotherDOB" HeaderText="BrotherDOB" SortExpression="BrotherDOB" ItemStyle-HorizontalAlign="Center"  /> 
		<asp:BoundField DataField="BrotherNationality" HeaderText="BrotherNationality" SortExpression="BrotherNationality" ItemStyle-HorizontalAlign="Center"  /> 
		<asp:BoundField DataField="BrotherContact" HeaderText="BrotherContact" SortExpression="BrotherContact" ItemStyle-HorizontalAlign="Center"  /> 
		<asp:BoundField DataField="AgreedFees" HeaderText="AgreedFees" SortExpression="AgreedFees" ItemStyle-HorizontalAlign="Center"  /> 
		<asp:BoundField DataField="FeesClusive" HeaderText="FeesClusive" SortExpression="FeesClusive" ItemStyle-HorizontalAlign="Center"  /> 
		<asp:BoundField DataField="FeesFundable" HeaderText="FeesFundable" SortExpression="FeesFundable" ItemStyle-HorizontalAlign="Center"  /> 
		<asp:BoundField DataField="PersonalStatement" HeaderText="PersonalStatement" SortExpression="PersonalStatement" ItemStyle-HorizontalAlign="Center"  /> 
		<asp:BoundField DataField="LawyerNote" HeaderText="LawyerNote" SortExpression="LawyerNote" ItemStyle-HorizontalAlign="Center"  /> 
		<asp:BoundField DataField="AssetAName" HeaderText="AssetAName" SortExpression="AssetAName" ItemStyle-HorizontalAlign="Center"  /> 
		<asp:BoundField DataField="AssetAWorth" HeaderText="AssetAWorth" SortExpression="AssetAWorth" ItemStyle-HorizontalAlign="Center"  /> 
		<asp:BoundField DataField="AssetANote" HeaderText="AssetANote" SortExpression="AssetANote" ItemStyle-HorizontalAlign="Center"  /> 
		<asp:BoundField DataField="AssetADetail" HeaderText="AssetADetail" SortExpression="AssetADetail" ItemStyle-HorizontalAlign="Center"  /> 
		<asp:BoundField DataField="AssetBName" HeaderText="AssetBName" SortExpression="AssetBName" ItemStyle-HorizontalAlign="Center"  /> 
		<asp:BoundField DataField="AssetBWorth" HeaderText="AssetBWorth" SortExpression="AssetBWorth" ItemStyle-HorizontalAlign="Center"  /> 
		<asp:BoundField DataField="AssetBNote" HeaderText="AssetBNote" SortExpression="AssetBNote" ItemStyle-HorizontalAlign="Center"  /> 
		<asp:BoundField DataField="AssetBDetail" HeaderText="AssetBDetail" SortExpression="AssetBDetail" ItemStyle-HorizontalAlign="Center"  /> 
		<asp:BoundField DataField="AssetCName" HeaderText="AssetCName" SortExpression="AssetCName" ItemStyle-HorizontalAlign="Center"  /> 
		<asp:BoundField DataField="AssetCWorth" HeaderText="AssetCWorth" SortExpression="AssetCWorth" ItemStyle-HorizontalAlign="Center"  /> 
		<asp:BoundField DataField="AssetCNote" HeaderText="AssetCNote" SortExpression="AssetCNote" ItemStyle-HorizontalAlign="Center"  /> 
		<asp:BoundField DataField="AssetCDetail" HeaderText="AssetCDetail" SortExpression="AssetCDetail" ItemStyle-HorizontalAlign="Center"  /> 
		<asp:BoundField DataField="UpdatedBy" HeaderText="UpdatedBy" SortExpression="UpdatedBy" ItemStyle-HorizontalAlign="Center"  /> 
		<asp:BoundField DataField="UpdatedDate" HeaderText="UpdatedDate" SortExpression="UpdatedDate" ItemStyle-HorizontalAlign="Center"  /> 
                            
                            <asp:HyperLinkField HeaderText="详细" ControlStyle-Width="50" DataNavigateUrlFields="ArchiveID" DataNavigateUrlFormatString="Show.aspx?id={0}"
                                Text="详细"  />
                            <asp:HyperLinkField HeaderText="编辑" ControlStyle-Width="50" DataNavigateUrlFields="ArchiveID" DataNavigateUrlFormatString="Modify.aspx?id={0}"
                                Text="编辑"  />
                            <asp:TemplateField ControlStyle-Width="50" HeaderText="删除"   Visible="false"  >
                                <ItemTemplate>
                                    <asp:LinkButton ID="LinkButton1" runat="server" CausesValidation="False" CommandName="Delete"
                                         Text="删除"></asp:LinkButton>
                                </ItemTemplate>
                            </asp:TemplateField>
                        </Columns>
                </asp:GridView>
               <table border="0" cellpadding="0" cellspacing="1" style="width: 100%;">
                <tr>
                    <td style="width: 1px;">                        
                    </td>
                    <td align="left">
                        <asp:Button ID="btnDelete" runat="server" Text="删除" OnClick="btnDelete_Click"/>                       
                    </td>
                </tr>
            </table>
</asp:Content>
<%--<asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceCheckright" runat="server">
</asp:Content>--%>
